﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TinyIM2013
{
    public class DeviceUtility
    {
        /// <summary>
        /// 根据IM服务器IP地址列表及端口列表生成抓包Filter
        /// </summary>
        /// <param name="udpServerIpList">UDP服务器IP地址列表</param>
        /// <param name="tcpServerIpList">TCP服务器IP地址列表</param>
        /// <param name="tcpPortList">TCP服务器端口列表</param>
        /// <param name="udpPortList">UDP服务器端口列表</param>
        /// <returns>数据包捕获设备的Filter</returns>
        /// <remarks>
        /// 目前使用抓取后再过滤的方式，如果以后使用抓包时候过滤的方式的时候会用到该函数
        /// </remarks>
        public static string GenerateCaptureFilter(string[] udpServerIpList,string[] tcpServerIpList,ushort[] tcpPortList,ushort[] udpPortList)
        {
            throw new NotImplementedException();
        }
    }
}
